<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/core/adminMeta.jsp"%>
	
	</head>
	<body>
		<div id="scrollContent">
			<div class="box2" panelTitle="已激活会员" roller="true">
<form name="showTable" method="post" action="admin/member/memberYesActiveList.shtml">
<jodd:form scopes="request">
			<table>
				<tr>
					<td>用户名:</td>
					<td>
						<input type="text"  name="loginNameDiy"/>
					</td>
					<td>推荐人编号:</td>
					<td>
						<input type="text"  name="recommendLoginName"/>
					</td>
					<td>接点人编号:</td>
					<td>
						<input type="text"  name="fatherLoginName"/>
					</td>
					 
					<td>注册人编号:</td>
					<td>
						<input type="text"  name="registerLoginName"/>
					</td>
					
					<td>承包商等级:</td>
					<td>
					 	<select id="dailiId" name="dailiId" >
					 		<option value="5">普通会员</option>
							<option value="10">一级承包商</option>
						  	<option value="20">二级承包商</option>
						  	<option value="30">三级承包商</option>
						  	 
						</select>
					</td> 
					 
					<td>
						<button type="submit">
							<span class="icon_find">查询</span>
						</button>
					</td>
				</tr>
			</table>
</jodd:form>			

				<table class="tableStyle">
					<tr align="center">
						<th>修改</th>
						<th>账号</th>
						<th>姓名</th>
						
						<th>推荐人</th>
						<th>激活人</th>
						<th>级别</th>
						 
						<th>投资额</th>
						<th>直招人数(业绩)</th>
						<th>团队人数(业绩)</th>
					 	 
						 
						 
						
						<th>现金币</th>
					
						<th>原石账户</th>
						<th>矿点数</th>
						<th>累计激活矿点</th>
						
						<th>已购买矿点</th>
						
						<th>复投币</th>
						<th>原始股</th>
						<th>动物基金</th>
						 
						<th>激活时间</th>
						 
						<th>奖金状态</th>	
						<th>账户状态</th>
						
						 
						
						 
					</tr>
	<c:forEach items="${pagination.pageList}"  var="o" >
					<tr align="center">
						<td>
							<a href="admin/member/memberUpdateShow.shtml?id=${o.id}">
								<span class="icon_edit">修改</span>
							</a>
							
						</td>
						<td>
							<a href="admin/member/memberYesActiveShow.shtml?id=${o.id}" target="_blank">
							${o.loginName}
							</a>
						</td>
						
						<td>${o.personName}</td>
						
						<td>
							${o.recommendLoginName}
						</td>
						<td>
							<c:if test="${o.activeLoginName==null}">
								管理员
							</c:if>
							<c:if test="${o.activeLoginName!=null}">
								${o.activeLoginName}
							</c:if>
							
						</td>
						<td>
							${o.dailiTitle}
						</td>
						 
					 
						<td>${o.payNum}</td>
						<td>${o.recommendNum}(${o.recommendYe})</td>
						<td>${o.recommendTotalNum}(${o.recommendTotalYe})</td>
						 
						 
					  
									
						<td>${o.money}</td>
						<td>${o.ele}</td>
						<td>${o.kuang}</td>
						<td>${o.totalActiveKuang}(在运行:${o.activeKuang})</td>
						<td>${o.buyKuang}</td>
						<td>${o.chuangye}</td>
						<td>${o.stock}</td>
						<td>${o.shui}</td>
						
					 
						  
						 		
						<td> 
							<fmt:formatDate value="${o.activeDate}" type="date" pattern="yyyy-MM-dd HH:mm" />
						</td>
						 
						<td>
							<c:if test="${o.stateWage=='T'}">
								<a href="admin/member/memberYesActiveWage.shtml?id=${o.id}"
								onclick="return confirm('确认冻结 ${o.loginName} 奖金状态？')"
								>
									正常，点击冻结
								</a>
							</c:if>
							<c:if test="${o.stateWage=='F'}">
								<a href="admin/member/memberYesActiveWage.shtml?id=${o.id}"
								onclick="return confirm('确认恢复 ${o.loginName} 奖金状态？')"
								>
									<span style="color: red">已冻结，点击恢复</span>
								</a>
							</c:if>
						</td>
						 
						
						<td>
							<c:if test="${o.accountUse=='T'}">
								<a href="admin/member/memberYesActiveUse.shtml?id=${o.id}"
								onclick="return confirm('确认冻结  ${o.loginName} 账户？')"
								>
									正常，点击冻结
								</a>
							</c:if>
							<c:if test="${o.accountUse=='F'}">
								<a href="admin/member/memberYesActiveUse.shtml?id=${o.id}"
								onclick="return confirm('确认恢复 ${o.loginName} 账户？')"
								>
									<span style="color: red">已冻结，点击恢复</span>
								</a>
							</c:if>
						</td>
						
					</tr>
	</c:forEach>
				</table>
		<page:pageControl />			
</form>
			</div>
		</div>
	<!--代码高亮end-->
	</body>
</html>